[INFO] cloning repository https://github.com/niklasad1/nrf52dk-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niklasad1/nrf52dk-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklasad1%2Fnrf52dk-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklasad1%2Fnrf52dk-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0cb257deefa1a18ad1286d150d7e1059298a57af
[INFO] checking niklasad1/nrf52dk-rs against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniklasad1%2Fnrf52dk-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/niklasad1/nrf52dk-rs on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-9/source/.cargo/config
[INFO] started tweaking git repo https://github.com/niklasad1/nrf52dk-rs
[INFO] finished tweaking git repo https://github.com/niklasad1/nrf52dk-rs
[INFO] tweaked toml for git repo https://github.com/niklasad1/nrf52dk-rs written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/niklasad1/nrf52dk-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7654ce56d5975231fee7aac94609c9ad48f5a3081cf3473883497bae4bdef81a
[INFO] running `Command { std: "docker" "start" "-a" "7654ce56d5975231fee7aac94609c9ad48f5a3081cf3473883497bae4bdef81a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7654ce56d5975231fee7aac94609c9ad48f5a3081cf3473883497bae4bdef81a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7654ce56d5975231fee7aac94609c9ad48f5a3081cf3473883497bae4bdef81a", kill_on_drop: false }`
[INFO] [stdout] 7654ce56d5975231fee7aac94609c9ad48f5a3081cf3473883497bae4bdef81a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9104e095bb1e5f0f9a65148f301a6fd6d7b669bb58b99758464c0fba4a6593e9
[INFO] running `Command { std: "docker" "start" "-a" "9104e095bb1e5f0f9a65148f301a6fd6d7b669bb58b99758464c0fba4a6593e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortex-m v0.5.7
[INFO] [stderr]     Checking vcell v0.1.0
[INFO] [stderr]     Checking aligned v0.2.0
[INFO] [stderr]     Checking bare-metal v0.2.3
[INFO] [stderr]     Checking tock-registers v0.1.0
[INFO] [stderr]     Checking volatile-register v0.2.0
[INFO] [stderr]     Checking nrf52dk-rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/peripherals/gpio.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | /// Gpio
[INFO] [stdout]    | ^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/peripherals/gpio.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | /// Gpio
[INFO] [stdout]    | ^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `start`
[INFO] [stdout]  --> src/lang_items.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | / extern "C" fn start<T>(main: fn() -> T, _argc: isize, _argv: *const *const u8) -> i32
[INFO] [stdout] 4 | | where
[INFO] [stdout] 5 | |     T: Termination,
[INFO] [stdout]   | |___________________^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]   = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af3c6e733a40e671550e0f0f5aeecaa13772ba56/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-faa3fd6c69b73b7d.rlib
[INFO] [stdout]   = note: second definition in the local crate (`nrf52dk_rs`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `termination`
[INFO] [stdout]   --> src/lang_items.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / pub trait Termination {
[INFO] [stdout] 13 | |     fn report(self) -> i32;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af3c6e733a40e671550e0f0f5aeecaa13772ba56/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-faa3fd6c69b73b7d.rlib
[INFO] [stdout]    = note: second definition in the local crate (`nrf52dk_rs`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nrf52dk-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: `extern` fn uses type `fn() -> T`, which is not FFI-safe
[INFO] [stdout]  --> src/lang_items.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern "C" fn start<T>(main: fn() -> T, _argc: isize, _argv: *const *const u8) -> i32
[INFO] [stdout]   |                              ^^^^^^^^^ not FFI-safe
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]   = help: consider using an `extern fn(...) -> ...` function pointer instead
[INFO] [stdout]   = note: this function pointer has Rust-specific calling convention
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "9104e095bb1e5f0f9a65148f301a6fd6d7b669bb58b99758464c0fba4a6593e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9104e095bb1e5f0f9a65148f301a6fd6d7b669bb58b99758464c0fba4a6593e9", kill_on_drop: false }`
[INFO] [stdout] 9104e095bb1e5f0f9a65148f301a6fd6d7b669bb58b99758464c0fba4a6593e9
